package com.imoney.framework.base.dao;


/**
 * 
 * Description:
 * <BR>
 * 
 * @author Robin Wu
 * CreateTime: Mar 21, 2011
 */
public interface IDao<T, E> extends java.io.Serializable {
	
	void add(T t);
	
	int delete(E e);
	
	int deleteById(long id);
	
	int update(T t);	
	
	T getObjectById(long id);
		
	int count(E e);
}
